package com.koko.service;

import com.koko.order.dto.OrderGameDTO;
import com.koko.order.dto.PayDTO;
import com.koko.order.vo.OrderVO;
import com.koko.result.Result;

import java.util.List;

public interface OrderService {
    void addOrder(List<OrderGameDTO> orderDTO);

    Long getOrderId();

    OrderVO getOrder();

    void deleteById(Long id);

    void deleteByUserId(Long userId);

    Result<String> pay(PayDTO payDTO);
}
